package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Menu;

import java.util.List;

/**
 * TODO: 增加描述
 *
 * @author li.xh
 * @version 1.0.0
 * @date 2019-12-13 12:10
 * @copyright wonhigh.cn
 */
public interface MenuService {
    List<Menu> findAll();

    List<Menu> findMenuIdsByRoleId(Integer id);

    public void add(Menu menu);
    public PageResult pageQuery(QueryPageBean queryPageBean);
    public void deleteById(Integer id);
    public void edit(Menu menu);
    public Menu findById(Integer id);


}
